package com.ruoyi.project.drugs.service.impl;

import com.ruoyi.project.drugs.domain.Drug;
import com.ruoyi.project.drugs.mapper.DrugMapper;
import com.ruoyi.project.drugs.service.DrugService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class DrugServiceImpl implements DrugService {
    @Autowired
    private DrugMapper drugMapper;
    @Override
    public List<Drug> selDrugInfoService(String postCode,String postName) {
        System.out.println("--====---------====---------===="+drugMapper.selDrugInfoMapper(postCode, postName));
        return drugMapper.selDrugInfoMapper(postCode, postName);
    }
}
